﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebmasterTool/Admin.Master" AutoEventWireup="true"
    CodeBehind="CreateGroup.aspx.cs" Inherits="Framework.WebmasterTool.Memberships.CreateGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctlCaption" runat="Server">
    Tạo/Sửa Nhóm
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageContent" runat="Server">
    <asp:Label ID="lblPermissionMessage" runat="server" Font-Bold="true" ForeColor="Red"
        Text="Tài khoản không có quyền truy cập vào trang này" Visible="false"></asp:Label>
    <asp:Panel ID="Panel1" runat="server" Visible="true">
        <table align="center" cellpadding="7" cellspacing="0" border="0">
            <tr>
                <td colspan="2" align="center">
                    <asp:Panel runat="server" ID="PanelMsg" CssClass="lblMsg" Visible="true">
                        <asp:ValidationSummary runat="server" ID="ValidationSummary1" DisplayMode="List"
                            ShowSummary="true" ValidationGroup="CreateGroup" Font-Bold="true" />
                        <asp:Label runat="server" ID="lblMsg" ForeColor="Red" Font-Bold="true"></asp:Label>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="color: Red">
                    <center>
                        * Thông tin bắt buộc</center>
                </td>
            </tr>
            <tr>
                <td align="right" style="font-weight: bold">
                    <span class="Required">*</span> Tên nhóm :
                </td>
                <td>
                    <asp:TextBox ID="txtRole" MaxLength="250" runat="server" Width="250"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="txtRole"
                        ValidationGroup="CreateGroup" ErrorMessage="Chưa nhập tên nhóm" runat="server"
                        Display="Dynamic">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" style="font-weight: bold">
                    Mô tả :
                </td>
                <td>
                    <asp:TextBox ID="txtDescription" MaxLength="250" runat="server" Width="250" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" style="font-weight: bold">
                    Phân quyền :
                </td>
                <td>
                    <table>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkWebmasterTool" runat="server" Text="Hệ thống quản trị" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkCompany" runat="server" Text="Cấu hình chung" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkCategory" runat="server" Text="Danh mục" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkProduct" runat="server" Text="Sản phẩm" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkArticle" runat="server" Text="Bài viết" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkContact" runat="server" Text="Liên hệ khách hàng" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkWatermark" runat="server" Text="Chữ ký ảnh" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkManagerUser" runat="server" Text="Quản lý tài khoản" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkSlideShow" runat="server" Text="SlideShow - Banner" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkDownloadFile" runat="server" Text="Dowload - Upload File" Visible="true" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkSupportOnline" runat="server" Text="Hỗ trợ - Holine" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkWeblink" runat="server" Text="Liên kết website" Visible="true" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkGallleryVideo" runat="server" Text="Video" Visible="true" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkGalleryImage" runat="server" Text="Thư viện ảnh" Visible="true" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkNewsLetter" runat="server" Text="Gửi bản tin" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkComment" runat="server" Text="Bình luận" Visible="true" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkVote" runat="server" Text="Thăm dò ý kiến" Visible="true" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkAdvertising" runat="server" Text="Quảng cáo" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkRewriteURL" runat="server" Text="Cấu hình RewriteURL" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkMailServer" runat="server" Text="Cấu hình mail server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkLogSystem" runat="server" Text="Nhật ký hệ thống" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkGalleryPhoto" runat="server" Text="Thư viện hình ảnh" Visible="true" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="chkReport" runat="server" Text="Báo cáo bài viết" />
                            </td>
                            <td>
                                <asp:CheckBox ID="chkTag" runat="server" Text="Quản lý tag" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <asp:Button ID="btnBack" runat="server" Text="Quay lại" OnClick="btnBack_Click" />
                    &nbsp;
                    <asp:Button runat="server" Text=" Lưu nhóm " ID="btnSave" ValidationGroup="CreateGroup"
                        OnClick="btnSave_Click" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
